package com.ztgf.commodity.models.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * author: chenyu.wang
 * date: 2020-07-24 17:28
 * Description: 店铺信息页产品评价列表VO
 */
@Data
public class CommodityShopPageEvaluationVO implements Serializable {

    @ApiModelProperty(value = "评价id")
    private Long id;
    @ApiModelProperty(value = "评价内容")
    private String content;
    @ApiModelProperty(value = "图片urls")
    private String imgUrls;
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
    @ApiModelProperty(value = "买家名称")
    private String userName;
    @ApiModelProperty(value = "评价时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "评价星级")
    private Integer starLevel;
    @ApiModelProperty(value = "sku名称")
    private String commodityName;
    @ApiModelProperty(value = "商品图片")
    private String goodsImg;
}
